import axios from 'axios'
// axios.defaults.baseURL = 'http://127.0.0.1:3000/api'
axios.defaults.baseURL = 'http://10.41.156.4:3000/api'
export default {
  async getMovieSort() {
    return await axios.get('/moviesort')
  },
  async getMovieList(id) {
    return await axios.get('/moviesort/' + id)
  },
  async getMovieDetail(id) {
    return await axios.get('/videolist/' + id)
  },
  async getBang() {
    return await axios.get('/board')
  }

}
